package fms.iwantsomemoney;

public class Listing {
    private String itemId;
    private int quantity;
    private int price;
    private boolean isBuyOrder;

    public Listing(String itemId, int quantity, int price, boolean isBuyOrder) {
        this.itemId = itemId;
        this.quantity = quantity;
        this.price = price;
        this.isBuyOrder = isBuyOrder;
    }

    public String getItemId() {
        return itemId;
    }

    public int getQuantity() {
        return quantity;
    }

    public int getPrice() {
        return price;
    }

    public boolean isBuyOrder() {
        return isBuyOrder;
    }
}
